<html>
<head>
<title>StudyCh(e)at</title>

<style>
 html,body{font:normal 0.9em arial,helvetica;}
 #log {width:440px; height:200px; border:1px solid #7F9DB9; overflow:auto;}
 #msg {width:330px;}
 #chatWindow {display:none;};
</style>

<script type="text/javascript" src="js/chat.js"></script>

</head>
<body onload="init()">
 <h3>StudyCh(e)at</h3>
 <div id="chooseName">
 	<label for="name">Enter your name:</label> <input id="name" type="text" />
 	<button onclick="login()">Login</button>
 </div>
 <div id="chatWindow">
	 <div id="log"></div>
	 <input id="msg" type="text" onkeypress="onkey(event)"/>
	 <button onclick="send()">Send</button>
	 <button onclick="quit()">Quit</button>
 </div>
</body>
</html>